package com.zb.network.service.impl;

import com.zb.network.service.ConNetworkTypeService;
import com.zb.service.ZjNetworkTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/9/11 0011
 **/
@Service
public class ConNetworkTypeServiceImpl implements ConNetworkTypeService {
    @Resource
    private ZjNetworkTypeService networkTypeService;

    // 根据类型ID批量删除类型
    @Override
    public void deleteNetworkType(List<Long> idList) {
        if (null == idList || idList.isEmpty()) {
            return;
        }
        // TODO 查询关联
        networkTypeService.removeByIds(idList);
    }
}
